package com.techsoul.common.security.enums;

public enum DataScopeEnum {

    ALL("ALL", "全部数据权限"),
    ORG("ORG", "组织数据权限"),
    SELF("SELF", "本人数据权限"),
    CUSTOM("CUSTOM", "自定义数据权限");

    private final String value;
    private final String display;

    DataScopeEnum(String value, String display) {
        this.value = value;
        this.display = display;
    }

    public String getValue() {
        return value;
    }

    public String getDisplay() {
        return display;
    }

}
